package org.example.deep.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Getter
@Setter
@Entity
@Table(name = "ELEC_ANALYSE_FILE")
public class ElecAnalyseFile {
    @Id
    @Column(name = "ID", nullable = false)
    private Long id;

    @Column(name = "FILE_NAME", length = 100)
    private String fileName;

    @Column(name = "SUFFIX", length = 10)
    private String suffix;

    @Column(name = "FILE_DATA")
    private byte[] fileData;

    @Column(name = "CREATE_DATE")
    private LocalDateTime createDate;

    @Column(name = "FILE_TYPE")
    private Integer fileType;

}